package com.study.spmongodb.wwj.juc.utils.executors;

import java.util.Optional;

/**
 * @author MI
 * @version 1.0
 * @date 2020/12/14 22:37
 */
public class Demo {

    public static void main(String[] args) {
        Optional.of(Runtime.getRuntime().availableProcessors())
                .ifPresent(System.out::println);
    }

}
